package cn.devil.two.myConf

import java.util.Properties

import com.typesafe.config.{Config, ConfigFactory}

object MyConf {
  //加载配置文件
  lazy val config: Config = ConfigFactory.load()
  val url: String = config.getString("db.url")

  val pro = new Properties()
  pro.put("user","root")
  pro.put("password","root")
}
